<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Library Evolutionary Algorithms for Clustering (LEAC): include/ga_integer_operator.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="leac_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Library Evolutionary Algorithms for Clustering (LEAC)
   &#160;<span id="projectnumber">Version 1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">ga_integer_operator.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>genetic integer operators  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;algorithm&gt;</code><br />
<code>#include &lt;iterator&gt;</code><br />
<code>#include &lt;unordered_set&gt;</code><br />
<code>#include &quot;<a class="el" href="random__ext_8hpp_source.html">random_ext.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="chromosome__fixedlength_8hpp_source.html">chromosome_fixedlength.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="linear__algebra__level1_8hpp_source.html">linear_algebra_level1.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="vector__utils_8hpp_source.html">vector_utils.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="probability__selection_8hpp_source.html">probability_selection.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="clustering__operator__centroids_8hpp_source.html">clustering_operator_centroids.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="partition__label_8hpp_source.html">partition_label.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dist_8hpp_source.html">dist.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="probability__distribution_8hpp_source.html">probability_distribution.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="verbose__global_8hpp_source.html">verbose_global.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ga_integer_operator.hpp:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="ga__integer__operator_8hpp__incl.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="ga__integer__operator_8hpp__dep__incl.svg" width="100%" height="518"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<p><a href="ga__integer__operator_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegaintegerop"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html">gaintegerop</a></td></tr>
<tr class="memdesc:namespacegaintegerop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Genetic integer operators. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac5569129f257484a01a32fca9ef280cd"><td class="memTemplParams" colspan="2">template&lt;typename T_INTEGER , typename T_METRIC &gt; </td></tr>
<tr class="memitem:ac5569129f257484a01a32fca9ef280cd"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html#ac5569129f257484a01a32fca9ef280cd">gaintegerop::labelKeep</a> (<a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; T_INTEGER, T_METRIC &gt; &amp;aochrom_relabel, std::vector&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> &gt; &amp;aivectorcidx_clustersKeep)</td></tr>
<tr class="memdesc:ac5569129f257484a01a32fca9ef280cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Label keep.  <a href="namespacegaintegerop.html#ac5569129f257484a01a32fca9ef280cd">More...</a><br /></td></tr>
<tr class="separator:ac5569129f257484a01a32fca9ef280cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3fdfa039ef172762476ee93b9b5e4f0"><td class="memTemplParams" colspan="2">template&lt;typename T_INTEGER , typename T_METRIC &gt; </td></tr>
<tr class="memitem:ab3fdfa039ef172762476ee93b9b5e4f0"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html#ab3fdfa039ef172762476ee93b9b5e4f0">gaintegerop::oneChangelabel</a> (<a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; T_INTEGER, T_METRIC &gt; &amp;aochrom_relabel, T_INTEGER aigene_Cs, T_INTEGER aigene_Cj)</td></tr>
<tr class="memdesc:ab3fdfa039ef172762476ee93b9b5e4f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">One change label.  <a href="namespacegaintegerop.html#ab3fdfa039ef172762476ee93b9b5e4f0">More...</a><br /></td></tr>
<tr class="separator:ab3fdfa039ef172762476ee93b9b5e4f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6950a3f47f1de21d824a3d9ad0121e8"><td class="memTemplParams" colspan="2">template&lt;typename T_REAL &gt; </td></tr>
<tr class="memitem:ae6950a3f47f1de21d824a3d9ad0121e8"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html#ae6950a3f47f1de21d824a3d9ad0121e8">gaintegerop::recombinationD_MX</a> (<a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>, T_REAL &gt; &amp;aochrom_child1, <a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>, T_REAL &gt; &amp;aochrom_child2, const <a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>, T_REAL &gt; &amp;aichrom_parent1, const <a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>, T_REAL &gt; &amp;aichrom_parent2, const <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiui_maximumValueToMutate, const T_REAL airt_mixMutationProb)</td></tr>
<tr class="memdesc:ae6950a3f47f1de21d824a3d9ad0121e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">recombination D_MX  <a href="namespacegaintegerop.html#ae6950a3f47f1de21d824a3d9ad0121e8">More...</a><br /></td></tr>
<tr class="separator:ae6950a3f47f1de21d824a3d9ad0121e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3db9a70a304cf4081c0d3dd31b7aca61"><td class="memTemplParams" colspan="2">template&lt;typename T_INTEGER , typename T_METRIC &gt; </td></tr>
<tr class="memitem:a3db9a70a304cf4081c0d3dd31b7aca61"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html#a3db9a70a304cf4081c0d3dd31b7aca61">gaintegerop::mutationD_PM</a> (<a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; T_INTEGER, T_METRIC &gt; &amp;aochrom_offspring, const <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> aiui_maximumValueToMutate)</td></tr>
<tr class="memdesc:a3db9a70a304cf4081c0d3dd31b7aca61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutate a integer gene.  <a href="namespacegaintegerop.html#a3db9a70a304cf4081c0d3dd31b7aca61">More...</a><br /></td></tr>
<tr class="separator:a3db9a70a304cf4081c0d3dd31b7aca61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a691340794a306d986eb048ff0aa381f7"><td class="memTemplParams" colspan="2">template&lt;typename T_INTEGER , typename T_METRIC , typename FUNCTION &gt; </td></tr>
<tr class="memitem:a691340794a306d986eb048ff0aa381f7"><td class="memTemplItemLeft" align="right" valign="top">std::pair&lt; <a class="el" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>, T_INTEGER &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html#a691340794a306d986eb048ff0aa381f7">gaintegerop::mutation</a> (<a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; T_INTEGER, T_METRIC &gt; &amp;aochrom_offspring, FUNCTION function)</td></tr>
<tr class="memdesc:a691340794a306d986eb048ff0aa381f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutate a integer gene.  <a href="namespacegaintegerop.html#a691340794a306d986eb048ff0aa381f7">More...</a><br /></td></tr>
<tr class="separator:a691340794a306d986eb048ff0aa381f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bd915e9b6cdf265411677bdfd88b7b2"><td class="memTemplParams" colspan="2">template&lt;typename T_INTEGER , typename T_METRIC &gt; </td></tr>
<tr class="memitem:a0bd915e9b6cdf265411677bdfd88b7b2"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html#a0bd915e9b6cdf265411677bdfd88b7b2">gaintegerop::isNotValid</a> (<a class="el" href="classgaencode_1_1_chromosome_string.html">gaencode::ChromosomeString</a>&lt; T_INTEGER, T_METRIC &gt; &amp;aichrom_chromosome, const T_INTEGER aiit_lowerRangeGenes, const T_INTEGER aiit_upperRangeGenes)</td></tr>
<tr class="memdesc:a0bd915e9b6cdf265411677bdfd88b7b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if not valid string.  <a href="namespacegaintegerop.html#a0bd915e9b6cdf265411677bdfd88b7b2">More...</a><br /></td></tr>
<tr class="separator:a0bd915e9b6cdf265411677bdfd88b7b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e27c2deb54b85256b67d441748f9618"><td class="memTemplParams" colspan="2">template&lt;typename T_FEATURE , typename T_FEATURE_SUM , typename T_INSTANCES_CLUSTER_K , typename T_CLUSTERIDX , typename T_REAL , typename INPUT_ITERATOR &gt; </td></tr>
<tr class="memitem:a1e27c2deb54b85256b67d441748f9618"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegaintegerop.html#a1e27c2deb54b85256b67d441748f9618">gaintegerop::mutationgka</a> (<a class="el" href="classgaencode_1_1_chrom_fixed_length.html">gaencode::ChromFixedLength</a>&lt; T_CLUSTERIDX, T_REAL &gt; &amp;aiochrom_mutate, const T_REAL airt_probMutation, <a class="el" href="classmat_1_1_matrix_row.html">mat::MatrixRow</a>&lt; T_FEATURE &gt; &amp;aomatrixt_centroids, <a class="el" href="classmat_1_1_matrix_row.html">mat::MatrixRow</a>&lt; T_FEATURE_SUM &gt; &amp;aomatrixt_sumInstancesCluster, std::vector&lt; T_INSTANCES_CLUSTER_K &gt; &amp;aovectort_numInstancesInClusterK, INPUT_ITERATOR aiiterator_instfirst, const INPUT_ITERATOR aiiterator_instlast, const <a class="el" href="structdist_1_1_dist.html">dist::Dist</a>&lt; T_REAL, T_FEATURE &gt; &amp;aifunc2p_dist)</td></tr>
<tr class="memdesc:a1e27c2deb54b85256b67d441748f9618"><td class="mdescLeft">&#160;</td><td class="mdescRight">mutation GKA  <a href="namespacegaintegerop.html#a1e27c2deb54b85256b67d441748f9618">More...</a><br /></td></tr>
<tr class="separator:a1e27c2deb54b85256b67d441748f9618"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:acee5944d570f2fb7efdf1d4c801b30fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="random__ext_8hpp.html#a096d42d6e488c0b0de08cd7c24ec0099">StdMT19937</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ga__integer__operator_8hpp.html#acee5944d570f2fb7efdf1d4c801b30fb">gmt19937_eng</a></td></tr>
<tr class="separator:acee5944d570f2fb7efdf1d4c801b30fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>genetic integer operators </p>
<p>This file is part of the LEAC.<br />
<br />
</p><dl class="section version"><dt>Version</dt><dd>1.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2015-2017 </dd></dl>
<dl class="section author"><dt>Authors</dt><dd>Hermes Robles-Berumen <a href="#" onclick="location.href='mai'+'lto:'+'her'+'me'+'s@u'+'az'+'.ed'+'u.'+'mx'; return false;">herme<span style="display: none;">.nosp@m.</span>s@ua<span style="display: none;">.nosp@m.</span>z.edu<span style="display: none;">.nosp@m.</span>.mx</a><br />
 Sebastian Ventura <a href="#" onclick="location.href='mai'+'lto:'+'sve'+'nt'+'ura'+'@u'+'co.'+'es'; return false;">svent<span style="display: none;">.nosp@m.</span>ura@<span style="display: none;">.nosp@m.</span>uco.e<span style="display: none;">.nosp@m.</span>s</a><br />
 Amelia Zafra <a href="#" onclick="location.href='mai'+'lto:'+'aza'+'fr'+'a@u'+'co'+'.es'; return false;">azafr<span style="display: none;">.nosp@m.</span>a@uc<span style="display: none;">.nosp@m.</span>o.es</a><br />
 <a href="http://www.uco.es/kdis/">KDIS</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPLv3</a> license </dd></dl>

<p class="definition">Definition in file <a class="el" href="ga__integer__operator_8hpp_source.html">ga_integer_operator.hpp</a>.</p>
</div><h2 class="groupheader">Variable Documentation</h2>
<a id="acee5944d570f2fb7efdf1d4c801b30fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acee5944d570f2fb7efdf1d4c801b30fb">&#9670;&nbsp;</a></span>gmt19937_eng</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="random__ext_8hpp.html#a096d42d6e488c0b0de08cd7c24ec0099">StdMT19937</a> gmt19937_eng</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="random__ext_8hpp_source.html#l00063">63</a> of file <a class="el" href="random__ext_8hpp_source.html">random_ext.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="ga__integer__operator_8hpp_source.html#l00490">gaintegerop::mutation()</a>, <a class="el" href="ga__integer__operator_8hpp_source.html#l00417">gaintegerop::mutationD_PM()</a>, <a class="el" href="ga__integer__operator_8hpp_source.html#l00587">gaintegerop::mutationgka()</a>, and <a class="el" href="ga__integer__operator_8hpp_source.html#l00190">gaintegerop::recombinationD_MX()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 19 2019 08:58:33 for Library Evolutionary Algorithms for Clustering (LEAC) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
